x11: Keep a default X Colormap in every visual to construct windows with
authorBenjamin Otte <otte@redhat.com>
Sun, 29 Aug 2010 15:48:58 +0000 (17:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:33 +0000 (15:11 +0200)
commit28b4567159ca47a3d914f6de38180464c3e59d3a
tree8ea027542a1afaa82894a6beb9c2f3456eff0ec7
parent47ee99619806ccee5dd3d1d709e1f2032ea92442
x11: Keep a default X Colormap in every visual to construct windows with

This way, we can specify a colormap when constructing windows. And ew
must do that to avoid BadMatch from XCreateWindow when we use a
different visual.
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkvisual-x11.c
gdk/x11/gdkwindow-x11.c